<div class="span-19">
    <div id="content">
        <h1>Manage Station</h1>
    <table>
        <tr>
            <td>#</td>
            <td>Name</td>
            <td>Operation</td>
        </tr>
        <?php $COUNTER = 1; ?>
    <?php foreach ($stations as $station):?>
        <tr>
            <td><?php echo $COUNTER; $COUNTER++ ?></td>
            <td><?php echo $station['name'] ?></td>
            <td>
                <a href="<?php echo base_url().'station/edit?id='.$station['id']?>">Edit</a>
                <a href="<?php echo base_url().'station/delete?id='.$station['id']?>">Delete</a>
            </td>
        </tr>
    <?php endforeach;?>
    </table>
</div>
</div>